package com.baosight.risk.service.fltd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * Table: TEWPD01
 */
@Data
@ApiModel
public class Tewpd01 implements Serializable {
    /**
     * 流程定义的标识
     * <p>
     * Table:     TEWPD01
     * Column:    PROCESS_DEF_ID
     * Nullable:  false
     */
    @ApiModelProperty("流程定义的标识")
    @Id
    @Column(name = "PROCESS_DEF_ID")
    private String processDefId;

    /**
     * 表单
     * <p>
     * Table:     TEWPD01
     * Column:    FORM
     * Nullable:  true
     */
    @ApiModelProperty("表单")
    @Column(name = "FORM")
    private String form;

    /**
     * 工作流系统表ID
     * <p>
     * Table:     TEWPD01
     * Column:    ACT_PROC_DEF_ID
     * Nullable:  true
     */
    @ApiModelProperty("工作流系统表ID")
    @Column(name = "ACT_PROC_DEF_ID")
    private String actProcDefId;

    /**
     * 流程定义编码
     * <p>
     * Table:     TEWPD01
     * Column:    PROCESS_KEY
     * Nullable:  false
     */
    @ApiModelProperty("流程定义编码")
    @Column(name = "PROCESS_KEY")
    private String processKey;

    /**
     * 流程定义名称
     * <p>
     * Table:     TEWPD01
     * Column:    PROCESS_NAME
     * Nullable:  false
     */
    @ApiModelProperty("流程定义名称")
    @Column(name = "PROCESS_NAME")
    private String processName;

    /**
     * 流程定义的描述信息
     * <p>
     * Table:     TEWPD01
     * Column:    DESCRIPTION
     * Nullable:  false
     */
    @ApiModelProperty("流程定义的描述信息")
    @Column(name = "DESCRIPTION")
    private String description;

    /**
     * 流程定义的所在目录ID
     * <p>
     * Table:     TEWPD01
     * Column:    CATEGORY
     * Nullable:  false
     */
    @ApiModelProperty("流程定义的所在目录ID")
    @Column(name = "CATEGORY")
    private String category;

    /**
     * 创建时间
     * <p>
     * Table:     TEWPD01
     * Column:    DEPLOYTIME
     * Nullable:  false
     */
    @ApiModelProperty("创建时间")
    @Column(name = "DEPLOYTIME")
    private String deploytime;

    /**
     * 创建人
     * <p>
     * Table:     TEWPD01
     * Column:    AUTHOR
     * Nullable:  false
     */
    @ApiModelProperty("创建人")
    @Column(name = "AUTHOR")
    private String author;

    /**
     * 版本
     * <p>
     * Table:     TEWPD01
     * Column:    PROCESS_VERSION
     * Nullable:  false
     */
    @ApiModelProperty("版本")
    @Column(name = "PROCESS_VERSION")
    private String processVersion;

    /**
     * 状态
     * <p>
     * Table:     TEWPD01
     * Column:    STATE
     * Nullable:  false
     */
    @ApiModelProperty("状态")
    @Column(name = "STATE")
    private String state;

    /**
     * 记录创建责任者
     * <p>
     * Table:     TEWPD01
     * Column:    REC_CREATOR
     * Nullable:  false
     */
    @ApiModelProperty("记录创建责任者")
    @Column(name = "REC_CREATOR")
    private String recCreator;

    /**
     * 记录创建时刻
     * <p>
     * Table:     TEWPD01
     * Column:    REC_CREATE_TIME
     * Nullable:  false
     */
    @ApiModelProperty("记录创建时刻")
    @Column(name = "REC_CREATE_TIME")
    private String recCreateTime;

    /**
     * 记录修改责任者
     * <p>
     * Table:     TEWPD01
     * Column:    REC_REVISOR
     * Nullable:  false
     */
    @ApiModelProperty("记录修改责任者")
    @Column(name = "REC_REVISOR")
    private String recRevisor;

    /**
     * 记录修改时刻
     * <p>
     * Table:     TEWPD01
     * Column:    REC_REVISE_TIME
     * Nullable:  false
     */
    @ApiModelProperty("记录修改时刻")
    @Column(name = "REC_REVISE_TIME")
    private String recReviseTime;

    /**
     * 归档标记
     * <p>
     * Table:     TEWPD01
     * Column:    ARCHIVE_FLAG
     * Nullable:  false
     */
    @ApiModelProperty("归档标记")
    @Column(name = "ARCHIVE_FLAG")
    private String archiveFlag;

    /**
     * 流程定义Xml
     * <p>
     * Table:     TEWPD01
     * Column:    MXGRAPH_XML
     * Nullable:  true
     */
    @ApiModelProperty("流程定义Xml")
    @Column(name = "MXGRAPH_XML")
    private String mxgraphXml;

    /**
     * BPMN流程定义XML
     * <p>
     * Table:     TEWPD01
     * Column:    BPMN_XML
     * Nullable:  true
     */
    @ApiModelProperty("BPMN流程定义XML")
    @Column(name = "BPMN_XML")
    private String bpmnXml;

    private static final long serialVersionUID = 1L;
}